package la.iok.hzsvn.lewin.movie.cloud.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import la.iok.hzsvn.lewin.movie.core.model.SimpleOrgUnitVo;
import la.iok.hzsvn.share.address.Address;

import java.util.Date;

public class OrgUnitVo extends SimpleOrgUnitVo {
    /**
     * 创建时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 组织地址
     */
    private Address address;
    /**
     * 父组织名称
     */
    private String parentName;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }
}
